<?php
/*
 * @ https://EasyToYou.eu - IonCube v11 Decoder Online
 * @ PHP 7.2 & 7.3
 * @ Decoder version: 1.1.6
 * @ Release: 10/08/2022
 */

// Decoded file for php version 71.
namespace AlibabaCloud\Client\Request\Traits;

trait DeprecatedTrait
{
    public function setContent($content)
    {
        return $this->body($content);
    }
    public function setMethod($method)
    {
        return $this->method($method);
    }
    public function setProtocol($scheme)
    {
        return $this->scheme($scheme);
    }
    public function getProtocolType()
    {
        return $this->uri->getScheme();
    }
    public function setProtocolType($scheme)
    {
        return $this->scheme($scheme);
    }
    public function setActionName($actionName)
    {
        return $this->action($actionName);
    }
    public function setAcceptFormat($format)
    {
        return $this->format($format);
    }
    public function getProtocol()
    {
        return $this->uri->getScheme();
    }
    public function getContent()
    {
        return isset($this->options["body"]) ? $this->options["body"] : NULL;
    }
    public function getMethod()
    {
        return $this->method;
    }
    public function getHeaders()
    {
        return isset($this->options["headers"]) ? $this->options["headers"] : [];
    }
    public function addHeader($headerKey, $headerValue)
    {
        $this->options["headers"][$headerKey] = $headerValue;
        return $this;
    }
    public function getQueryParameters()
    {
        return isset($this->options["query"]) ? $this->options["query"] : [];
    }
    public function setQueryParameters($name, $value)
    {
        $this->options["query"][$name] = $value;
        return $this;
    }
    public function getDomainParameter()
    {
        return isset($this->options["form_params"]) ? $this->options["form_params"] : [];
    }
    public function putDomainParameters($name, $value)
    {
        $this->options["form_params"][$name] = $value;
        return $this;
    }
    public function getActionName()
    {
        return $this->action;
    }
    public function getAcceptFormat()
    {
        return $this->format;
    }
    public function getLocationEndpointType()
    {
        return $this->endpointType;
    }
    public function getLocationServiceCode()
    {
        return $this->serviceCode;
    }
}

?>